package com.nzw.pojo.car;

import javax.persistence.Column;
import javax.persistence.Table;
import java.util.Date;

/**
 * Created by Administrator on 2018/5/20/020.
 */


@Table(name = "t_specialcar")
public class SpecialCar {

    private Long id;            //id
    private Long userId;        //用户id
    private Long companyId;     //企业id
    private Long carTypeId;     //认证车类型
    private String image1;      //图片
    private String image2;      //
    private String image3;       //
    private Boolean state;      //状态
    private String companyNmae; //公司名称
    private Date createDate;    //创建时间
    private Date endDate;       //结束时间
    private String city;        //城市
    private Boolean del;        //是否删除
    private String note;         //备注



    @Column(name = "city")
    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    @Column(name = "del")
    public Boolean getDel() {
        return del;
    }

    public void setDel(Boolean del) {
        this.del = del;
    }

    @Column(name = "id")
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    @Column(name = "carTypeId")
    public Long getCarTypeId() {
        return carTypeId;
    }

    public void setCarTypeId(Long carTypeId) {
        this.carTypeId = carTypeId;
    }

    @Column(name = "userId")
    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    @Column(name = "createDate")
    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    @Column(name = "state")
    public Boolean getState() {
        return state;
    }

    public void setState(Boolean state) {
        this.state = state;
    }

    @Column(name = "companyId")
    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }


    @Column(name = "image1")
    public String getImage1() {
        return image1;
    }

    public void setImage1(String image1) {
        this.image1 = image1;
    }

    @Column(name = "image2")
    public String getImage2() {
        return image2;
    }


    public void setImage2(String image2) {
        this.image2 = image2;
    }

    @Column(name = "image3")
    public String getImage3() {
        return image3;
    }

    public void setImage3(String image3) {
        this.image3 = image3;
    }

    @Column(name = "endDate")
    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    @Column(name = "note")
    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    @Column(name = "companyName")
    public String getCompanyNmae() {
        return companyNmae;
    }

    public void setCompanyNmae(String companyNmae) {
        this.companyNmae = companyNmae;
    }

    @Override
    public String toString() {
        return "SpecialCar{" +
                "id=" + id +
                ", userId=" + userId +
                ", companyId=" + companyId +
                ", carTypeId=" + carTypeId +
                ", image1='" + image1 + '\'' +
                ", image2='" + image2 + '\'' +
                ", image3='" + image3 + '\'' +
                ", state=" + state +
                ", companyNmae='" + companyNmae + '\'' +
                ", createDate=" + createDate +
                ", endDate=" + endDate +
                ", del=" + del +
                ", note='" + note + '\'' +
                '}';
    }
}
